module etc.dleveldb.snapshot;

import deimos.leveldb.c;

abstract class Snapshot
{

    @property:
    bool isValid() const
    {
        return (this._snapshot !is null);
    }
    package:
    @property
    inout(leveldb_snapshot_t*) ptr() inout
    {
        return this._snapshot;
    }

    protected:
    leveldb_snapshot_t*  _snapshot;
}